import request from '@/utils/request'
import scope from './scope'
const apiPrefix = `${process.env.VUE_APP_BASE_API}/${scope}/sysjobgroup/`

export const getJobGroupList = (params, config = {}) => {
  params = params || {}
  return request.get(apiPrefix + 'list', { params: params }, config)
}
export const removeJobGroup = (params, config = {}) => {
  return request.post(apiPrefix + 'delete', params, config)
}
export const addJobGroup = (params, config = {}) => {
  return request.post(apiPrefix + 'add', params, config)
}
